package com.example.mapper;

import com.example.entity.User;
import java.util.List;

public interface UserMapper {

    List<User> selectAll();

    void insert(User user);

    void updateById(User user);

    void deleteById(Integer id);

    User selectByUsername(String username);

    User selectById(Integer userId);
}
